//
//  MANavigationController.h
//  MiniAppSDK
//
//  Created by elvisgao on 2018/12/19.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class MABaseApplication;
@protocol QMAColorSignHelper;

/**
 自定义导航栏类，UINavigationControllerDelegate 导航栏的回调
 */
@interface MANavigationController : UINavigationController <UINavigationControllerDelegate>

@property (nonatomic, weak) MABaseApplication *application;
@property (nonatomic, strong, readonly, nullable) id<QMAColorSignHelper> colorSignHelper;
@property (nonatomic, assign, getter=isMiniAppShowing) BOOL miniAppShowing;

/// 横竖屏提示界面在8928已下架。此方法将在两个版本后删除掉，请不要调用此方法。
- (void)showNotSupportOrientationTipViewIfNeeded;

/// 屏幕发生旋转
- (void)onDeviceOrientationChanged;

@end

NS_ASSUME_NONNULL_END
